package com.ssy.lingxi.member.merchant.model.vo.basic.request;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 平台后台 - 修改用户密码接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-12-10
 */
public class PlatformUpdatePasswordVO implements Serializable {
    private static final long serialVersionUID = -4025460047811281672L;

    /**
     * 旧密码（前端需要用Aes加密）
     */
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    /**
     * 新密码（前端需要用Aes加密）
     */
    @NotBlank(message = "新密码不能为空")
    private String newPassword;

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
